package com.selfdriving.bean;

import com.selfdriving.R;

public class TogetherPlayExamineBean extends Entity
{

	String id;
	String route;
	String fee;
	String from;
	String destination;
	String times;
	String declaration;
	String originate;
	String headImg;
	String phone;
	String peoples;
	String status;
	String goDate;
	String goType;
	String days;
	String sex;
	String car;
	private int genderId;// 性别对应的图片资源ResId
	private int genderBgId;// 性别对应的背景资源ResId

	public TogetherPlayExamineBean(String id, String route, String fee,
			String from, String destination, String times, String declaration,
			String originate, String headImg, String phone, String peoples,
			String status, String goDate, String goType, String days,
			String sex, String car)
	{
		super();
		this.id = id;
		this.route = route;
		this.fee = fee;
		this.from = from;
		this.destination = destination;
		this.times = times;
		this.declaration = declaration;
		this.originate = originate;
		this.headImg = headImg;
		this.phone = phone;
		this.peoples = peoples;
		this.status = status;
		this.goDate = goDate;
		this.goType = goType;
		this.days = days;
		this.sex = sex;
		this.car = car;
		if (sex.equals("男"))
		{
			setGenderId(R.drawable.ic_user_famale);
			setGenderBgId(R.drawable.bg_gender_famal);
		} else
		{
			setGenderId(R.drawable.ic_user_male);
			setGenderBgId(R.drawable.bg_gender_male);
		}
	}

	public int getGenderId()
	{
		return genderId;
	}

	public void setGenderId(int genderId)
	{
		this.genderId = genderId;
	}

	public int getGenderBgId()
	{
		return genderBgId;
	}

	public void setGenderBgId(int genderBgId)
	{
		this.genderBgId = genderBgId;
	}

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getRoute()
	{
		return route;
	}

	public void setRoute(String route)
	{
		this.route = route;
	}

	public String getFee()
	{
		return fee;
	}

	public void setFee(String fee)
	{
		this.fee = fee;
	}

	public String getFrom()
	{
		return from;
	}

	public void setFrom(String from)
	{
		this.from = from;
	}

	public String getDestination()
	{
		return destination;
	}

	public void setDestination(String destination)
	{
		this.destination = destination;
	}

	public String getTimes()
	{
		return times;
	}

	public void setTimes(String times)
	{
		this.times = times;
	}

	public String getDeclaration()
	{
		return declaration;
	}

	public void setDeclaration(String declaration)
	{
		this.declaration = declaration;
	}

	public String getOriginate()
	{
		return originate;
	}

	public void setOriginate(String originate)
	{
		this.originate = originate;
	}

	public String getHeadImg()
	{
		return headImg;
	}

	public void setHeadImg(String headImg)
	{
		this.headImg = headImg;
	}

	public String getPhone()
	{
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getPeoples()
	{
		return peoples;
	}

	public void setPeoples(String peoples)
	{
		this.peoples = peoples;
	}

	public String getStatus()
	{
		return status;
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getGoDate()
	{
		return goDate;
	}

	public void setGoDate(String goDate)
	{
		this.goDate = goDate;
	}

	public String getGoType()
	{
		return goType;
	}

	public void setGoType(String goType)
	{
		this.goType = goType;
	}

	public String getDays()
	{
		return days;
	}

	public void setDays(String days)
	{
		this.days = days;
	}

	public String getSex()
	{
		return sex;
	}

	public void setSex(String sex)
	{
		this.sex = sex;
	}

	public String getCar()
	{
		return car;
	}

	public void setCar(String car)
	{
		this.car = car;
	}

}
